package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`test_shoptype_tree`")
@Data
@ApiModel("")
public class TestShoptypeTree implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键", example = "String")
    private String id;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建日期", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新日期", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`sys_org_code`")
    @ApiModelProperty(value = "所属部门", example = "String")
    private String sysOrgCode;
    @Column(name = "`type_name`")
    @ApiModelProperty(value = "商品分类", example = "String")
    private String typeName;
    @Column(name = "`pic`")
    @ApiModelProperty(value = "分类图片", example = "String")
    private String pic;
    @Column(name = "`pid`")
    @ApiModelProperty(value = "父级节点", example = "String")
    private String pid;
    @Column(name = "`has_child`")
    @ApiModelProperty(value = "是否有子节点", example = "String")
    private String hasChild;

    private static final long serialVersionUID = 1L;
}
